package Mangos::DB::Characters::CharacterPetDeclinedname;

use strict;

use base qw(Mangos::DB::Characters);

__PACKAGE__->meta->setup
(
    table   => 'character_pet_declinedname',

    columns => 
    [
        id            => { type => 'integer', not_null => 1 },
        owner         => { type => 'integer', default => '0', not_null => 1 },
        genitive      => { type => 'varchar', default => '', length => 12, not_null => 1 },
        dative        => { type => 'varchar', default => '', length => 12, not_null => 1 },
        accusative    => { type => 'varchar', default => '', length => 12, not_null => 1 },
        instrumental  => { type => 'varchar', default => '', length => 12, not_null => 1 },
        prepositional => { type => 'varchar', default => '', length => 12, not_null => 1 },
    ],

    primary_key_columns => [ 'id' ],
);

1;

package Mangos::DB::Characters::CharacterPetDeclinedname::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Characters::CharacterPetDeclinedname' }

__PACKAGE__->make_manager_methods('character_pet_declinedname');

1;
